SFPack supports various command line options when started. The basic command line looks like this:
SFPACK.EXE [/Switch] [Files] [Directory]
You can specify multiple options, multiple files (including wildcards) and directories. If you specify a directory, all SF2 and SFPack files from that folder will be added to the File List.
This is a brief list of all useful command line switches (switches start with a '-' or '/' character):
Switch |
Description |
/a |
Automatically start processing of all the files specified in the command line. |
/License |
Displays the software license on start up. |
/Install |
Installs SFPack on your system (register COM server, create Shortcut in startup menu, register shell extension and document type). |
/Uninstall |
Removes SFPack from the system (unregister COM server, delete Shortcut in startup menu, unregister shell extension and document type). After this you can safely delete all files from the SFPack package. |
/RegServer |
Registers the COM server for Automation (from Visual Basic, VB Script etc.). |
/UnregServer |
Unregisters the COM server. Automation Clients will not be able to use the SFPack objects any more. |